package org.springsource.batch;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobParameters;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

//@ContextConfiguration(locations = "classpath*:/META-INF/spring/batch/override/app-context.xml")
//PersistenceConfig
@ContextConfiguration(locations={"classpath*:/META-INF/spring/*.xml","classpath*:/META-INF/spring/batch/override/app-context.xml"})
@RunWith(SpringJUnit4ClassRunner.class)
public class TaskletTestCase {


	/*@Autowired
	private JobLauncher jobLauncher;
*/
	@Autowired
	private Job job;

	private JobParameters jobParameters = new JobParameters();

	@Test
	public void testLaunchJob() throws Exception {
		/*StopWatch sw = new StopWatch();
		sw.start();
		jobLauncher.run(job, jobParameters);
		sw.stop();*/
	}
}
